function checkToken(data) {
    if (data.resMsg == undefined&&data.result==undefined)
        data = JSON.parse(data);
    if (data.code == 401 || data.code == 402|| data.code == 403) {
        localStorage.clear();
        sessionStorage.clear();
        top.location.href = 'notlogin.html';
        this.close();
    }
}